package com.eastseeway.radioproject.entities;

import androidx.annotation.Keep;

import struct.StructClass;
import struct.StructField;

@Keep
@StructClass
public class Bean1FromHandle {
//    Byte0	工作状态。8位每一位表示一个状态（见附表1）
    @StructField(order = 0)
    private byte workState;
//1	故障信息。8位每一位表示一个故障信息（见附表2）
    @StructField(order = 1)
    private byte exception;
//2	能量频率1-2M
    @StructField(order = 2)
    private byte freq;
//3	能量功率
    @StructField(order = 3)
    private byte power;
//4	负压值，30-60Kpa（默认30）
    @StructField(order = 4)
    private byte pressure ;
//5	出针长度：0.1-6mm（高位置1进入长度测试模式）
    @StructField(order = 5)
    private byte depth;
//6	更换针头0=不启动更换针头；1=手动启动更换针头
    @StructField(order = 6)
    private byte replaceElectrode ;
//7	断续放电脉冲量：0-10次（默认10）
    @StructField(order = 7)
    private byte intermittentDischargePulse ;
//8	断续放电高电平时长：10-30mS(默认10)
    @StructField(order = 8)
    private byte intermittentDischargeHighLevelPeriod ;
//9	断续放电低电平时长：10-70mS(默认10)
    @StructField(order = 9)
    private byte intermittentDischargeLowLevelPeriod ;
//10 11 连续放电时间：50-400mS（默认50）
    @StructField(order = 10)
    private short continuousDischargePeriod ;//连续放电时间：50-400mS（默认50）
//12 13
    @StructField(order = 11)
    private short interval ;         //自动出针间隔：500-1500mS(默认1S)非全功能手柄
//14 15
    @StructField(order = 12)
    private short shengyucishu;
//16 17
    @StructField(order = 13)
//    private short leadScrewPosition;
    private short totalPower;
//18 19
    @StructField(order = 14)
    private short skinResistance;
//20 21
    @StructField(order = 15)
    private short xAcceleration;
//22 23
    @StructField(order = 16)
    private short yAcceleration;
//24 25
    @StructField(order = 17)
    private short zAcceleration;
//26 27
    @StructField(order = 18)
    private short xAngularVelocity;
//28 29
    @StructField(order = 19)
    private short yAngularVelocity;
//30 31
    @StructField(order = 20)
    private short zAngularVelocity;
//32-43
    @StructField(order = 21)
    private byte[] batch_production = new byte[12];
//44-47
    @StructField(order = 22)
    private byte[] production_number = new byte[4];

//48-51
    @StructField(order = 23)
    private byte[] electrode_count = new byte[4];
    //52-53
    @StructField(order = 24)
    private short shengyucishu_set;
//    54-57
    @StructField(order = 25)
    private byte[] placeHolder = new byte[4];
//    58 59
    @StructField(order = 26)
    private short touchResistance;
//    60 61
    @StructField(order = 27)
    private short leadScrewPosition;
//62
    @StructField(order = 28)
    private byte wk_status;
//63
    @StructField(order = 29)
    private byte version;

    public byte getWorkState() {
        return workState;
    }

    public void setWorkState(byte workState) {
        this.workState = workState;
    }

    public byte getException() {
        return exception;
    }

    public void setException(byte exception) {
        this.exception = exception;
    }

    public byte getFreq() {
        return freq;
    }

    public void setFreq(byte freq) {
        this.freq = freq;
    }

    public byte getPower() {
        return power;
    }

    public void setPower(byte power) {
        this.power = power;
    }

    public byte getPressure() {
        return pressure;
    }

    public void setPressure(byte pressure) {
        this.pressure = pressure;
    }

    public byte getDepth() {
        return depth;
    }

    public void setDepth(byte depth) {
        this.depth = depth;
    }

    public byte getReplaceElectrode() {
        return replaceElectrode;
    }

    public void setReplaceElectrode(byte replaceElectrode) {
        this.replaceElectrode = replaceElectrode;
    }

    public byte getIntermittentDischargePulse() {
        return intermittentDischargePulse;
    }

    public void setIntermittentDischargePulse(byte intermittentDischargePulse) {
        this.intermittentDischargePulse = intermittentDischargePulse;
    }

    public byte getIntermittentDischargeHighLevelPeriod() {
        return intermittentDischargeHighLevelPeriod;
    }

    public void setIntermittentDischargeHighLevelPeriod(byte intermittentDischargeHighLevelPeriod) {
        this.intermittentDischargeHighLevelPeriod = intermittentDischargeHighLevelPeriod;
    }

    public byte getIntermittentDischargeLowLevelPeriod() {
        return intermittentDischargeLowLevelPeriod;
    }

    public void setIntermittentDischargeLowLevelPeriod(byte intermittentDischargeLowLevelPeriod) {
        this.intermittentDischargeLowLevelPeriod = intermittentDischargeLowLevelPeriod;
    }

    public short getContinuousDischargePeriod() {
        return continuousDischargePeriod;
    }

    public void setContinuousDischargePeriod(short continuousDischargePeriod) {
        this.continuousDischargePeriod = continuousDischargePeriod;
    }

    public short getInterval() {
        return interval;
    }

    public void setInterval(short interval) {
        this.interval = interval;
    }

    public short getShengyucishu() {
        return shengyucishu;
    }

    public void setShengyucishu(short shengyucishu) {
        this.shengyucishu = shengyucishu;
    }

    public short getTotalPower() {
        return totalPower;
    }

    public void setTotalPower(short towerPower) {
        this.totalPower = towerPower;
    }

    public short getSkinResistance() {
        return skinResistance;
    }

    public void setSkinResistance(short skinResistance) {
        this.skinResistance = skinResistance;
    }

    public short getxAcceleration() {
        return xAcceleration;
    }

    public void setxAcceleration(short xAcceleration) {
        this.xAcceleration = xAcceleration;
    }

    public short getyAcceleration() {
        return yAcceleration;
    }

    public void setyAcceleration(short yAcceleration) {
        this.yAcceleration = yAcceleration;
    }

    public short getzAcceleration() {
        return zAcceleration;
    }

    public void setzAcceleration(short zAcceleration) {
        this.zAcceleration = zAcceleration;
    }

    public short getxAngularVelocity() {
        return xAngularVelocity;
    }

    public void setxAngularVelocity(short xAngularVelocity) {
        this.xAngularVelocity = xAngularVelocity;
    }

    public short getyAngularVelocity() {
        return yAngularVelocity;
    }

    public void setyAngularVelocity(short yAngularVelocity) {
        this.yAngularVelocity = yAngularVelocity;
    }

    public short getzAngularVelocity() {
        return zAngularVelocity;
    }

    public void setzAngularVelocity(short zAngularVelocity) {
        this.zAngularVelocity = zAngularVelocity;
    }

    public byte[] getElectrode_count() {
        return electrode_count;
    }

    public void setElectrode_count(byte[] electrode_count) {
        this.electrode_count = electrode_count;
    }

    public byte[] getBatch_production() {
        return batch_production;
    }

    public void setBatch_production(byte[] batch_production) {
        this.batch_production = batch_production;
    }

    public byte[] getProduction_number() {
        return production_number;
    }

    public void setProduction_number(byte[] production_number) {
        this.production_number = production_number;
    }

    public byte[] getPlaceHolder() {
        return placeHolder;
    }

    public void setPlaceHolder(byte[] placeHolder) {
        this.placeHolder = placeHolder;
    }

    public byte getWk_status() {
        return wk_status;
    }

    public void setWk_status(byte wk_status) {
        this.wk_status = wk_status;
    }

    public byte getVersion() {
        return version;
    }

    public void setVersion(byte version) {
        this.version = version;
    }

    public short getTouchResistance() {
        return touchResistance;
    }

    public void setTouchResistance(short touchResistance) {
        this.touchResistance = touchResistance;
    }

    public short getLeadScrewPosition() {
        return leadScrewPosition;
    }

    public void setLeadScrewPosition(short leadScrewPosition) {
        this.leadScrewPosition = leadScrewPosition;
    }

    public short getShengyucishu_set() {
        return shengyucishu_set;
    }

    public void setShengyucishu_set(short shengyucishu_set) {
        this.shengyucishu_set = shengyucishu_set;
    }
}
